package springCloud.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 洛秋y
 * @date 2020/11/19 16:10
 */
@RestController
public class PaymentController {
    @Value("${server.port}")
    private String port;


    @GetMapping(value = "/consul/get")
    public String get() {
        return "consul" + port;
    }
}
